cody - HTMLify profile

cody
4270 Files
633443 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/84 - Tetris Game
Media file
const grid=document.querySelector(".grid")
let squares=Array.from(document.querySelectorAll('.grid div'));
const score=document.getElementById("score");
const startbtn=document.getElementById('start-btn')
const btnimg=document.getElementById('btnimg');
let count=0;
const width=10;
let squares=Array.from(document.querySelectorAll('.grid div'));
const score=document.getElementById("score");
const startbtn=document.getElementById('start-btn')
const btnimg=document.getElementById('btnimg');
let count=0;
const width=10;
body{
background-color:black ;
color:white;
}
.top{
display: flex;
justify-content: space-between;
width:200px;
background-color:black ;
color:white;
}
.top{
display: flex;
justify-content: space-between;
width:200px;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">